package com.stylefeng.guns.api.user;

/**
 * @ClassName UserApi
 * @Description TODO
 * @Author zhaoluowei
 * @Date 2019/9/8  20:25
 * @Version 1.0
 */

public interface UserApi {

    //让jwt 一直携带 用户的id
    int isLogin(String username,String password);

    boolean register(UserModel userModel);

    boolean checkUsername(String username);

    UserInfoModer getUserInfo(int uuid);

    UserInfoModer updateUserInfo(UserInfoModer userInfoModer);

}
